type Person = ref object
  name:string
  age:int

var p1:Person = Person(name:"damao", age:10)
var p2=p1
p2.age+=5

echo p1[]
echo p2[]
